package com.cq.hd.member.api;

import com.cq.hd.common.pagination.Page;
import com.cq.hd.common.response.Result;
import com.cq.hd.member.api.dto.AdminSubsidyAmtBillPageDto;
import com.cq.hd.member.api.dto.SubsidyAmtBillDto;
import com.cq.hd.member.api.vo.AdminSubsidyAmtBillPageVo;
import com.cq.hd.member.api.vo.SubsidyAmtBillPageVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(value = "hd-o2o-member-service", contextId = "subsidy-amt-bill-api")
public interface TbSubsidyAmtBillApi {

    @GetMapping("/member/subsidyAmtBill/listSubsidyAmtBill")
    Result<List<SubsidyAmtBillPageVo>> listSubsidyAmtBill(@SpringQueryMap SubsidyAmtBillDto subsidyAmtBillDto);

    @GetMapping("/member/subsidyAmtBill/pageSubsidyAmtBill")
    Result<Page<AdminSubsidyAmtBillPageVo>> pageSubsidyAmtBill(@SpringQueryMap AdminSubsidyAmtBillPageDto adminSubsidyAmtBillPageDto);
}
